package meterMonitor.util;

import com.fasterxml.jackson.databind.PropertyNamingStrategy.PropertyNamingStrategyBase;

public class LowercasePropertyNamingStrategy extends PropertyNamingStrategyBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2100284990770174851L;

	@Override
	public String translate(String propertyName) {
		String name = propertyName.replaceAll("^\\w", propertyName.toUpperCase().substring(0, 1));
		return name;
	}
}
